package com.service;

import com.entity.Member;
import com.result.QueryResult;

import java.sql.SQLException;

public interface MemberService {

    Member add(Member member) throws SQLException, ClassNotFoundException;
    QueryResult selectByPage(Integer offset, Integer size);
    void update(Member member);
    Integer delete(Integer Num);
    QueryResult selectByName(String name);
}
